package com.xueyi.system.auditPlan.service.impl;

import com.xueyi.system.auditPlan.domain.query.AuditPlanQuery;
import com.xueyi.system.auditPlan.domain.dto.AuditPlanDto;
import com.xueyi.system.auditPlan.service.IAuditPlanService;
import com.xueyi.system.auditPlan.manager.IAuditPlanManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 内审计划管理 服务层处理
 *
 * @author zlf
 */
@Service
public class AuditPlanServiceImpl extends BaseServiceImpl<AuditPlanQuery, AuditPlanDto, IAuditPlanManager> implements IAuditPlanService {

    /**
     * 查询内审计划对象列表 | 数据权限 | 附加数据
     *
     * @param auditPlan 内审计划对象
     * @return 内审计划对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"AuditPlanMapper"})
    public List<AuditPlanDto> selectListScope(AuditPlanQuery auditPlan) {
        return baseManager.selectListExtra(auditPlan);
    }

}